/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller;

/**
 *
 * @author Arthur
 */
public class Imprimante extends Materiel {
    private long numCB;
    private String refCC;
    private String refCN;
    private String pUSB;
    private String pParall;
    private String pRes;
    private String TYPEI;
    private String A3;
    private String A4;
    
    public Imprimante(){
        super();
    }

    public Imprimante(int numCB, String refCC, String refCN, String pUSB, String pParall, String pRes, String TYPEI, String A3, String A4) {
        this.numCB = numCB;
        this.refCC = refCC;
        this.refCN = refCN;
        this.pUSB = pUSB;
        this.pParall = pParall;
        this.pRes = pRes;
        this.TYPEI = TYPEI;
        this.A3 = A3;
        this.A4 = A4;
    }

    public String getRefCC() {
        return refCC;
    }

    public void setRefCC(String refCC) {
        this.refCC = refCC;
    }

    public String getRefCN() {
        return refCN;
    }

    public void setRefCN(String refCN) {
        this.refCN = refCN;
    }

    public String getpUSB() {
        return pUSB;
    }

    public void setpUSB(String pUSB) {
        this.pUSB = pUSB;
    }

    public String getpParall() {
        return pParall;
    }

    public void setpParall(String pParall) {
        this.pParall = pParall;
    }

    public String getpRes() {
        return pRes;
    }

    public void setpRes(String pRes) {
        this.pRes = pRes;
    }

    public String getTYPEI() {
        if(TYPEI == "jet d'encre")
            return "jet d''encre";
        else
        return TYPEI;
    }

    public void setTYPEI(String TYPEI) {
        this.TYPEI = TYPEI;
    }

    public String getA3() {
        return A3;
    }

    public void setA3(String A3) {
        this.A3 = A3;
    }

    public String getA4() {
        return A4;
    }

    public void setA4(String A4) {
        this.A4 = A4;
    }

    
    
    
}
